package com.yxp423.ssmempl.config;

import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

/**
 * @Description: webSocket配置
 * @Author: yxp
 * @CreateDate: 2019-06-13 10:37
 * @Version: 1.0
 */
@Component
public class WebSocketConfig {


	@Bean
	public ServerEndpointExporter serverEndpointExporter(){
		return new ServerEndpointExporter();
	}

}
